package DP.proxy.game;

import DP.proxy.game.player.impl.GamePlayer;
import DP.proxy.game.player.impl.GamePlayerProxy;
import DP.proxy.game.player.IGamePlayer;

/**
 * @author msi
 * 场景类
 */
public class Client {
    public static void main(String[] args) {
        IGamePlayer player=new GamePlayer("张三");
        IGamePlayer proxy =new GamePlayerProxy(player);
        proxy.upgrade();
        proxy.login("zs","password");
        proxy.killBoss();
    }
}
